<div class="content-play">
    <p><a href="javascript:void(0)" onclick="dashangToggle()" class="dashang" title="打赏，支持一下">请我喝杯咖啡</a></p>
    <div class="hide_box-play"></div>
    <div class="shang_box-play">
        <a class="shang_close-play" href="javascript:void(0)" onclick="dashangToggle()" title="关闭"><img src="/images/payimg/close.jpg" alt="取消" /></a>
        <div class="shang_tit-play">
            <p>感谢您的支持，我会继续写出更优秀的文章!</p>
        </div>
        <div class="shang_payimg">
            <img src="/images/payimg/weipayimg.jpg" alt="扫码支持" title="扫一扫" />
        </div>
        <div class="shang_payimg">
            <img src="/images/payimg/alipayimg.jpg" alt="扫码支持" title="扫一扫" />
        </div>
        <div class="pay_explain">请我喝杯咖啡</div>
        <div class="shang_payselect">
            <div class="pay_item" data-id="weipay">
                <span class="pay_logo"><img src="/images/payimg/wechat.jpg" alt="微信" /></span>
            </div>
            <div class="pay_item checked" data-id="alipay">
                <span class="pay_logo"><img src="/images/payimg/alipay.jpg" alt="支付宝" /></span>
            </div>
        </div>
        <div class="shang_info-play">
            <p>打开<span id="shang_pay_txt">微信</span>扫一扫，即可进行扫码打赏哦</p>
        </div>
    </div>
</div>
<script type="text/javascript">
    function dashangToggle(){
        $(".hide_box-play").fadeToggle();
        $(".shang_box-play").fadeToggle();
    }
</script>

<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';"></div>

<style type="text/css">
  .content-play{}
  .hide_box-play{z-index:999;filter:alpha(opacity=50);background:#666;opacity: 0.5;-moz-opacity: 0.5;left:0;top:0;height:99%;width:100%;position:fixed;display:none;}
  .shang_box-play{width:540px;height:540px;padding:10px;background-color:#fff;border-radius:10px;position:fixed;z-index:1000;left:50%;top:50%;margin-left:-280px;margin-top:-280px;border:1px dotted #dedede;display:none;}
  .shang_box-play img{border:none;border-width:0;}
  .dashang{display:block;width:140px;margin:5px auto;height:40px;line-height:25px;padding:8px;background-color:#E74851;color:#fff;text-align:center;text-decoration:none;border-radius:10px;font-weight:bold;font-size:16px;transition: all 0.3s;}
  .dashang:hover{opacity:0.8;padding:15px;font-size:18px;}
  .shang_close-play{float:right;display:inline-block;
    margin-right: 10px;margin-top: 20px;
  }
  .shang_logo{display:block;text-align:center;margin:20px auto;}
  .shang_tit-play{width: 100%;height: 75px;text-align: center;line-height: 66px;color: #a3a3a3;font-size: 16px;background: url('/images/payimg/cy-reward-title-bg.jpg');font-family: 'Microsoft YaHei';margin-top: 7px;margin-right:2px;}
  .shang_tit-play p{color:#a3a3a3;text-align:center;font-size:16px;}
  .shang_payimg{width:140px;padding:10px;/*padding-left: 80px; border:6px solid #EA5F00;**/margin:0 auto;border-radius:3px;height:140px;display:inline-block;}
  .shang_payimg img{display:inline-block;margin-right:10px;float:left;text-align:center;width:140px;height:140px; }
  .pay_explain{text-align:center;margin:10px auto;font-size:12px;color:#545454;}
  .shang_payselect{text-align:center;margin:0 auto;margin-top:40px;cursor:pointer;height:60px;width:500px;margin-left:110px;}
  .shang_payselect .pay_item{display:inline-block;margin-right:140px;float:left;}
  .shang_info-play{clear:both;}
  .shang_info-play p,.shang_info-play a{color:#C3C3C3;text-align:center;font-size:12px;text-decoration:none;line-height:2em;}
</style>
